@docsvision/management-console 6.2.0-beta.1 → 6.2.0-beta.3

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.
Files changed (5) hide show
  1. package/index.css +1 -1
  2. package/index.d.ts +140 -219
  3. package/index.js +17469 -19820
  4. package/index.js.map +1 -1
  5. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -99,22 +99,6 @@ declare type $DashboardConfigurationService_2 = { dashboardConfigurationService:
99
99
 
100
100
  declare const $DashboardConfigurationService_2 = serviceName((s: $DashboardConfigurationService_2) => s.dashboardConfigurationService);
101
101
 
102
- declare type $DatabaseMasterController = { databaseMasterController: IDatabaseMasterController };
103
-
104
- declare const $DatabaseMasterController = serviceName((s: $DatabaseMasterController) => s.databaseMasterController);
105
-
106
- declare type $DatabasesConfigurationController = { databasesConfigurationController: IDatabasesConfigurationController };
107
-
108
- declare const $DatabasesConfigurationController = serviceName((s: $DatabasesConfigurationController) => s.databasesConfigurationController);
109
-
110
- declare type $DatabasesController = { databasesController: IDatabasesController };
111
-
112
- declare const $DatabasesController = serviceName((s: $DatabasesController) => s.databasesController);
113
-
114
- declare type $DatabaseWizard = { databaseWizardService: IDatabaseWizardService; };
115
-
116
- declare const $DatabaseWizard = serviceName((s: $DatabaseWizard) => s.databaseWizardService);
117
-
118
102
  export declare type $DomEntryPointService = {
119
103
  domEntryPointService: IDomEntryPointService;
120
104
  };
@@ -209,6 +193,10 @@ declare type $PanelsExpansionService = { panelsExpansionService: IPanelsExpansio
209
193
 
210
194
  declare const $PanelsExpansionService = serviceName((s: $PanelsExpansionService) => s.panelsExpansionService);
211
195
 
196
+ declare type $ProcessTemplatesController = { processTemplatesController: IProcessTemplatesController };
197
+
198
+ declare const $ProcessTemplatesController = serviceName((s: $ProcessTemplatesController) => s.processTemplatesController);
199
+
212
200
  declare type $RealtimeCommunication = { realtimeCommunication: IRealtimeCommunicationService };
213
201
 
214
202
  declare const $RealtimeCommunication = serviceName((s: $RealtimeCommunication) => s.realtimeCommunication);
@@ -243,6 +231,16 @@ declare type $ResourcesManagement_2 = { resourcesManagement: IResourcesManagemen
243
231
 
244
232
  declare const $ResourcesManagement_2 = serviceName((s: $ResourcesManagement_2) => s.resourcesManagement);
245
233
 
234
+ export declare type $RootElement = {
235
+ rootElement: IRootElementService;
236
+ };
237
+
238
+ export declare const $RootElement: string | ((model?: $RootElement) => IRootElementService);
239
+
240
+ declare type $RootElement_2 = { rootElement: IRootElementService_2 };
241
+
242
+ declare const $RootElement_2 = serviceName((s: $RootElement_2) => s.rootElement);
243
+
246
244
  export declare type $RouteContentRender = {
247
245
  routeContentRender: IRouteContentRenderService;
248
246
  };
@@ -263,6 +261,10 @@ declare type $ServersController_2 = {
263
261
 
264
262
  declare const $ServersController_2: string | ((model?: $ServersController_2) => IServersController_2);
265
263
 
264
+ declare type $SessionsController = { sessionsController: ISessionsController };
265
+
266
+ declare const $SessionsController = serviceName((s: $SessionsController) => s.sessionsController);
267
+
266
268
  export declare type $SettingsNavigation = {
267
269
  settingsNavigation: ISettingsNavigationService;
268
270
  };
@@ -340,13 +342,12 @@ export declare class Application extends ServiceContainer implements IApplicatio
340
342
  serverController: IServersController_2;
341
343
  settingsNavigation: ISettingsNavigationService;
342
344
  formControl: IFormControl;
343
- databaseWizardService: IDatabaseWizardService;
344
- databaseMasterController: IDatabaseMasterController;
345
- databasesConfigurationController: IDatabasesConfigurationController;
346
- databasesController: IDatabasesController;
347
345
  realtimeCommunication: IRealtimeCommunicationService_2;
346
+ sessionsController: ISessionsController;
348
347
  configurationLocksController: IConfigurationLocksController;
349
348
  extendedConfigurationController: IExtendedConfigurationController_2;
349
+ processTemplatesController: IProcessTemplatesController;
350
+ rootElement: IRootElementService_2;
350
351
  constructor(reactRootElementId: string);
351
352
  static instance: IApplication;
352
353
  initialize(): Promise<void>;
@@ -374,8 +375,9 @@ declare enum BreadcrumbsLabel {
374
375
  PageOutgoingMessagesQueue,
375
376
  WidgetSearchForCardMessages,
376
377
  PageSearchForCardMessages,
377
- PageErrorAndBlockLog
378
-
378
+ PageErrorAndBlockLog,
379
+ WidgetOpenSessions,
380
+ PageOpenSessions
379
381
  }
380
382
 
381
383
  declare enum BreadcrumbsLabel_2 {
@@ -385,7 +387,9 @@ declare enum BreadcrumbsLabel_2 {
385
387
  PageOutgoingMessagesQueue = 3,
386
388
  WidgetSearchForCardMessages = 4,
387
389
  PageSearchForCardMessages = 5,
388
- PageErrorAndBlockLog = 6
390
+ PageErrorAndBlockLog = 6,
391
+ WidgetOpenSessions = 7,
392
+ PageOpenSessions = 8
389
393
  }
390
394
 
391
395
  export declare function ButtonWithLoading(props: IButtonWithLoadingProps): JSX.Element;
@@ -406,18 +410,6 @@ export declare const commonMuiProps: {
406
410
 
407
411
  export declare function ComponentIcon(props: IComponentIconProps): JSX.Element;
408
412
 
409
- declare enum ConnectionStatus {
410
- Unknown = -1,
411
- Succesfull = 0,
412
- DatabaseNotExist = 1,
413
- ServerNotExist = 2,
414
- LoginFailed = 3,
415
- AuthNotSupported = 4,
416
-
417
- AliasAlreadyExists = 100,
418
- DatabaseAlreadyExists = 101
419
- }
420
-
421
413
  export declare const convertBase64ToString: (base64: string) => string;
422
414
 
423
415
  export declare const convertDataToBase64: (data: object) => string;
@@ -485,24 +477,6 @@ export declare function DatabaseSettingsCard(props: IDatabaseSettingsCardProps):
485
477
 
486
478
  export declare type DatabaseSettingsCardSize = "sm" | "md";
487
479
 
488
- declare enum DatabaseState {
489
- Attached,
490
- Updating,
491
- Creating,
492
- Attaching
493
- }
494
-
495
- declare enum DatabaseType {
496
- Postgre,
497
- SQL
498
- }
499
-
500
- declare enum DatabaseWizardMode {
501
- Create,
502
- Add,
503
- Update
504
- }
505
-
506
480
  export declare const DateRangeCalendarIcon: React_2.NamedExoticComponent<IDateRangeProps>;
507
481
 
508
482
  export declare function DateRangeContainer(props: IDateRangePickerProps): JSX.Element;
@@ -533,6 +507,8 @@ export declare function DropdownBody(props: IDropdownBodyProps): JSX.Element;
533
507
 
534
508
  export declare const DropdownOption: React_2.ForwardRefExoticComponent<Pick<IDropdownOptionProps, "slot" | "style" | "title" | "onClick" | "color" | "children" | "className" | "id" | "classes" | "onChange" | "sx" | "translate" | "disabled" | "disableGutters" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "value" | "action" | "selected" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "component" | "dense" | "displayName" | "divider"> & React_2.RefAttributes<HTMLLIElement>>;
535
509
 
510
+ export declare function EditorCollectionEditor(props: IEditorCollectionEditorProps): JSX.Element;
511
+
536
512
  export declare function EditorContainer(props: IEditorContainer): JSX.Element;
537
513
 
538
514
  export declare function EditorDescription({ text }: {
@@ -655,7 +631,7 @@ export declare const getThisMonthBeginAndEndDays: () => {
655
631
  endMonthDate: string;
656
632
  };
657
633
 
658
- export declare const getWidgetsOrder: (id: string) => 0 | 1 | 2;
634
+ export declare const getWidgetsOrder: (id: string) => 0 | 1 | 2 | 3;
659
635
 
660
636
  export declare function GroupPanel(props: IGroupPanelProps): JSX.Element;
661
637
 
@@ -730,7 +706,7 @@ export declare interface IApplication extends ServiceContainer, IApplicationServ
730
706
  declare interface IApplication_2 extends ServiceContainer, IApplicationServices_2 {
731
707
  }
732
708
 
733
- 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, $DatabaseWizard, $DatabasesController, $DatabasesConfigurationController, $DatabaseMasterController, $ConfigurationLocksController {
709
+ 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, $ProcessTemplatesController, $RootElement_2 {
734
710
  }
735
711
 
736
712
  declare interface IApplicationServices_2 extends
@@ -761,11 +737,10 @@ $SettingsNavigation_2,
761
737
  $FormControl_2,
762
738
  $ExtendedConfigurationController,
763
739
  $RealtimeCommunication,
764
- $DatabaseWizard,
765
- $DatabasesController,
766
- $DatabasesConfigurationController,
767
- $DatabaseMasterController,
768
- $ConfigurationLocksController {
740
+ $ConfigurationLocksController,
741
+ $SessionsController,
742
+ $ProcessTemplatesController,
743
+ $RootElement_2 {
769
744
 
770
745
  }
771
746
 
@@ -979,12 +954,6 @@ declare interface IConfigurationValueChange_2 extends IConfigurationValue_2 {
979
954
  operation: IChangeOperationType_2;
980
955
  }
981
956
 
982
- declare interface IConnectionStatusInfo {
983
- status: ConnectionStatus;
984
- message: string;
985
- uniqueServerName?: string;
986
- }
987
-
988
957
  export declare interface IContainerProps extends HtmlProps.button {
989
958
  title?: string;
990
959
  content?: JSX.Element | string;
@@ -1142,90 +1111,13 @@ declare interface IDashboardPosition_2 {
1142
1111
  order: number;
1143
1112
  }
1144
1113
 
1145
- declare interface IDatabase {
1146
- alias: string;
1147
- databaseName: string;
1148
- databaseType: DatabaseType;
1149
- serverName: string;
1150
- isDefault: boolean;
1151
- databaseState: DatabaseState;
1152
- deleted: boolean;
1153
- }
1154
-
1155
- declare interface IDatabaseInfo {
1156
- databaseAlias: string;
1157
- connectionStatus: IConnectionStatusInfo;
1158
- baseVersion: unknown;
1159
- updateDate: string;
1160
- fullTextSearchEnabled: boolean;
1161
- }
1162
-
1163
- declare interface IDatabaseMasterController extends Service {
1164
- setState(serverId: string, state: IDatabaseMasterModel): Promise<void>;
1165
- getState(serverId: string, databaseAlias: string): Promise<IDatabaseMasterModel>;
1166
- deleteState(serverId: string, databaseAlias: string): Promise<void>;
1167
- }
1168
-
1169
- declare interface IDatabaseMasterModel {
1170
- serverParameters?: IServerParameters;
1171
- databaseParameters?: IDatabaseParameters;
1172
- scriptGenerationParameters?: IScriptGenerationParameters;
1173
- libraries?: string[];
1174
- timeout?: number;
1175
- localeId?: number;
1176
- dbFilePath?: string;
1177
- currentPageName: string;
1178
- state?: IDatabaseMasterState;
1179
- lastProcessError?: string;
1180
- masterType: DatabaseWizardMode;
1181
- }
1182
-
1183
- declare enum IDatabaseMasterState {
1184
- Preparing = 0,
1185
- InProcess = 1,
1186
- ProcessFinished = 2
1187
- }
1188
-
1189
- declare interface IDatabaseParameters {
1190
- alias: string;
1191
- databaseName: string;
1192
- additionalOptions?: Record<string, string>;
1193
- }
1194
-
1195
- declare interface IDatabasesConfigurationController extends Service {
1196
- getDefault(serviceId: string): Promise<string>;
1197
- setDefault(serviceId: string, databaseAlias: string): Promise<void>;
1198
- add(serviceId: string, databaseAlias: string): Promise<void>;
1199
- delete(serviceId: string, databaseAlias: string): Promise<void>;
1200
- all(serviceId: string): Promise<IDatabase[]>;
1201
- }
1202
-
1203
- declare interface IDatabasesController extends Service {
1204
- create(serviceId: string, databaseAlias: string): Promise<void>;
1205
- update(serviceId: string, databaseAlias: string): Promise<void>;
1206
- status(serviceId: string, databaseAlias: string): Promise<IProcessStatus>;
1207
- stop(serviceId: string, databaseAlias: string): Promise<void>;
1208
- databases(serviceId: string, serverParameters: IServerParameters): Promise<string[]>;
1209
- checkSqlServerConnection(serviceId: string, serverParameters: IServerParameters): Promise<IConnectionStatusInfo>;
1210
- checkSqlDatabaseConnection(serviceId: string, serverParameters: IServerParameters, databaseParameters: IDatabaseParameters): Promise<IConnectionStatusInfo>;
1211
- checkSqlDatabaseConnectionFull(serviceId: string, serverParameters: IServerParameters, databaseParameters: IDatabaseParameters)
1212
- : Promise<IConnectionStatusInfo>;
1213
- info(serviceId: string): Promise<IDatabaseInfo[]>;
1214
- libraries(serviceId: string, databaseAlias: string): Promise<IScriptGenerationModel>
1215
- }
1216
-
1217
1114
  export declare interface IDatabaseSettingsCardProps {
1218
1115
  title: string;
1219
1116
  label: string;
1220
1117
  isDefault: boolean;
1221
1118
  children?: React_2.ReactNode;
1222
1119
  size?: DatabaseSettingsCardSize;
1223
- }
1224
-
1225
- declare interface IDatabaseWizardService extends Service {
1226
- openCreateMode(serviceId: string, databaseChangeStateEvent?: Event_2<void>);
1227
- openUpdateMode(serviceId: string, databaseAlias: string, databaseChangeStateEvent?: Event_2<void>);
1228
- openConnectMode(serviceId: string, databaseChangeStateEvent?: Event_2<void>);
1120
+ error?: string;
1229
1121
  }
1230
1122
 
1231
1123
  export declare interface IDateRangeComponent {
@@ -1295,6 +1187,14 @@ export declare interface IDropdownOptionProps extends Omit<MenuItemProps, "butto
1295
1187
  displayName: string;
1296
1188
  }
1297
1189
 
1190
+ export declare interface IEditorCollectionEditorProps extends IPageModelElement {
1191
+ children: React_2.ReactNode | React_2.ReactNode[];
1192
+ isChanged?: boolean;
1193
+ resetValue?: () => void;
1194
+ className?: string;
1195
+ isEditable?: boolean;
1196
+ }
1197
+
1298
1198
  export declare interface IEditorContainer extends IPageModelElement {
1299
1199
  children: React_2.ReactNode;
1300
1200
  isChanged?: boolean;
@@ -1544,6 +1444,11 @@ export declare interface IInformationIconProps {
1544
1444
  onClick?: () => void;
1545
1445
  }
1546
1446
 
1447
+ declare interface IInstallProcessTemplatesRequestModel {
1448
+ templateIds: string[];
1449
+ timestamp: string;
1450
+ }
1451
+
1547
1452
  export declare interface IKeyValue {
1548
1453
  key: string;
1549
1454
  value: string;
@@ -1559,19 +1464,6 @@ declare interface ILayoutService_2 extends Service {
1559
1464
  saveLayout(layoutId: string, serviceId: string, data: IPageSaveModelElement_2[], itemId?: string, timestamp?: number): Promise<ISavePageResultModel_2>;
1560
1465
  }
1561
1466
 
1562
- declare interface ILibrary {
1563
- id: string,
1564
- alias: string,
1565
- name: string,
1566
- cardLibVersion: number,
1567
- dbVersion: number,
1568
- dbSysVersion: number;
1569
- haveUserMetadata: boolean;
1570
- haveUnknownLinks?: boolean;
1571
- canUpdate?: boolean;
1572
- libraryDependencies: TLibraryDependency[];
1573
- }
1574
-
1575
1467
  declare interface ILineWithError {
1576
1468
  error: string;
1577
1469
  }
@@ -1589,6 +1481,7 @@ declare interface IListPanelProps {
1589
1481
  disabled?: boolean;
1590
1482
  validate?: (value: string) => Promise<boolean>;
1591
1483
  errorMessage?: string;
1484
+ services: IApplicationServices;
1592
1485
  }
1593
1486
 
1594
1487
  export declare interface ILocalizationService {
@@ -1783,7 +1676,7 @@ export declare function InformationIcon(props: IInformationIconProps): JSX.Eleme
1783
1676
 
1784
1677
  declare interface INumberComponentProps extends Omit<OutlinedTextFieldProps, "variant"> {
1785
1678
  name: string;
1786
- value?: number;
1679
+ value?: number | string;
1787
1680
  minValue?: number;
1788
1681
  maxValue?: number;
1789
1682
  fullWidth?: boolean;
@@ -1792,6 +1685,11 @@ declare interface INumberComponentProps extends Omit<OutlinedTextFieldProps, "va
1792
1685
  errorMessage?: string;
1793
1686
  }
1794
1687
 
1688
+ declare interface IOpenSessionsCount {
1689
+ onlineCount: number,
1690
+ offlineCount: number,
1691
+ }
1692
+
1795
1693
  export declare interface IPageElementOption {
1796
1694
  displayName: string;
1797
1695
  value: string | number;
@@ -1883,6 +1781,14 @@ declare interface IPageSaveModelElement_2 {
1883
1781
  value: unknown;
1884
1782
  }
1885
1783
 
1784
+ declare interface IPageSessionResult {
1785
+ queryId: string,
1786
+ result: ISessionInfo[],
1787
+ currentPage: number,
1788
+ hasMore: boolean,
1789
+ totalItemsCount: number
1790
+ }
1791
+
1886
1792
  export declare interface IPageTabLabelProps extends HtmlProps.div {
1887
1793
  text: string;
1888
1794
  selected: boolean;
@@ -1909,6 +1815,12 @@ export declare interface IPageTitleProps extends HtmlProps.div {
1909
1815
  text: string;
1910
1816
  }
1911
1817
 
1818
+ declare interface IPagingParameters {
1819
+ page: number,
1820
+ pageSize?: number,
1821
+ UsePagination?: boolean
1822
+ }
1823
+
1912
1824
  /**
1913
1825
  * Сервис для раскрытия или закрытия всех панелей.
1914
1826
  */
@@ -1935,9 +1847,8 @@ export declare interface IPopupNotificationProps extends Noty_2.Options {
1935
1847
  buttonsProps?: IButtonsProps[];
1936
1848
  }
1937
1849
 
1938
- declare interface IProcessStatus {
1939
- state: ProcessState;
1940
- errorMessage?: string
1850
+ declare interface IProcessTemplatesController extends Service {
1851
+ installProcessTemplates(serviceId: string, data: IInstallProcessTemplatesRequestModel): Promise<void>;
1941
1852
  }
1942
1853
 
1943
1854
  declare interface IRealtimeCommunicationService {
@@ -1976,6 +1887,14 @@ declare interface IResourcesMap_2 {
1976
1887
  [id: string]: string;
1977
1888
  }
1978
1889
 
1890
+ export declare interface IRootElementService {
1891
+ readonly rootElementId: string;
1892
+ }
1893
+
1894
+ declare interface IRootElementService_2 {
1895
+ readonly rootElementId: string;
1896
+ }
1897
+
1979
1898
  export declare interface IRouteContentRenderService {
1980
1899
  register(path: string, routeHandler: RouteHandler, hooks?: HooksHandler): any;
1981
1900
  $contentComponent: Store<JSX.Element>;
@@ -2018,23 +1937,6 @@ declare interface ISavePageResultModel_2 {
2018
1937
  timestamp?: number;
2019
1938
  }
2020
1939
 
2021
- declare interface IScriptGenerationModel {
2022
- scriptGeneratorVersion: number,
2023
- libraries: ILibrary[]
2024
- }
2025
-
2026
- declare interface IScriptGenerationParameters {
2027
- searchDataBaseType: TableLocationType,
2028
- changedObjectDataBaseType: TableLocationTypeExtended,
2029
- iconDataBaseType: TableLocationType,
2030
- keysetDataBaseType: TableLocationType,
2031
- fileCursorDataBaseType: TableLocationType,
2032
- cursorDataBaseType: TableLocationType,
2033
- useOuterMetadata: boolean,
2034
- useOuterLog: boolean,
2035
- useOuterArchive: boolean,
2036
- }
2037
-
2038
1940
  export declare interface ISectionContentWrapperProps extends IPageModelElement {
2039
1941
  className?: string;
2040
1942
  refElement?: React_2.RefObject<HTMLDivElement>;
@@ -2067,17 +1969,6 @@ export declare interface IServerExtensionResourcesDescriptor {
2067
1969
  url: string;
2068
1970
  }
2069
1971
 
2070
- declare interface IServerParameters {
2071
- serverName: string;
2072
- serverType: ServerType;
2073
- user: string;
2074
- password: string;
2075
- passwordChanged?: boolean;
2076
- port?: number;
2077
- integratedSecurity: boolean;
2078
- trustServerCertificate?: boolean;
2079
- }
2080
-
2081
1972
  declare interface IServersController extends Service {
2082
1973
  getServers(): Promise<IServerDescription[]>;
2083
1974
  getServerInfo(id: string): Promise<IServerDetails>;
@@ -2102,6 +1993,49 @@ declare interface IServiceDescription_2 {
2102
1993
  configurationLayoutId: string;
2103
1994
  }
2104
1995
 
1996
+ declare interface ISessionCloseInfo {
1997
+ sessionId: string,
1998
+ message: string
1999
+ }
2000
+
2001
+ declare interface ISessionInfo {
2002
+ id: string,
2003
+ userName: string,
2004
+ computerName: string,
2005
+ loginTime: string,
2006
+ inactivityTime: string,
2007
+ offline: boolean
2008
+ }
2009
+
2010
+ declare interface ISessionsController extends Service {
2011
+ getSessionsCount(connectionId: string): Promise<IOpenSessionsCount>
2012
+ getSessions(connectionId, request: ISessionsGetRequest): Promise<ISessionsGetResponse>
2013
+ closeSessions(connectionId: string, sessionIds: string[]): Promise<ISessionCloseInfo[]>
2014
+ }
2015
+
2016
+ declare interface ISessionsGetRequest {
2017
+ query: ISessionsQuery,
2018
+ pagingParameters: IPagingParameters
2019
+ }
2020
+
2021
+ declare interface ISessionsGetResponse {
2022
+ licenseInfo: IUsedLicenseInfoModel,
2023
+ availableFilterTypes: SessionFilterTypes,
2024
+ pagedResult: IPageSessionResult
2025
+ }
2026
+
2027
+ declare interface ISessionSortCondition {
2028
+ columnName: string,
2029
+ ascending: boolean,
2030
+ order: number
2031
+ }
2032
+
2033
+ declare interface ISessionsQuery {
2034
+ queryId?: string,
2035
+ filterTypes: SessionFilterTypes,
2036
+ sortConditions: ISessionSortCondition[],
2037
+ }
2038
+
2105
2039
  export declare interface ISettingsNavigationService {
2106
2040
  goToSettingsPage: (layoutId: string, serviceName: string, serviceId: string) => void;
2107
2041
  goToItemSettingsPage: (layoutId: string, id: string, label: string) => void;
@@ -2297,6 +2231,11 @@ export declare interface IUrlModel {
2297
2231
  database?: string;
2298
2232
  }
2299
2233
 
2234
+ declare interface IUsedLicenseInfoModel {
2235
+ totalCount: number,
2236
+ usedCount: number
2237
+ }
2238
+
2300
2239
  export declare interface IUserInfo {
2301
2240
  /**
2302
2241
  * User account name
@@ -2558,13 +2497,6 @@ declare enum PeriodType {
2558
2497
  DateRange
2559
2498
  }
2560
2499
 
2561
- declare enum ProcessState {
2562
- Running = 0,
2563
- Finished = 1,
2564
- Error = 2,
2565
- Canceled = 3
2566
- }
2567
-
2568
2500
  export declare function registerEditors(): void;
2569
2501
 
2570
2502
  export declare function removeCssVariables(theme: Theme): void;
@@ -2575,6 +2507,11 @@ export declare class ResourcesManagement implements IResourcesManagement {
2575
2507
  addResources(resourcesMap: any): void;
2576
2508
  }
2577
2509
 
2510
+ export declare class RootElementService implements IRootElementService_2 {
2511
+ readonly rootElementId: string;
2512
+ constructor(rootElementId: string);
2513
+ }
2514
+
2578
2515
  export declare class RouteContentRenderService implements IRouteContentRenderService_2 {
2579
2516
  private readonly application?;
2580
2517
  domain: Domain;
@@ -2608,13 +2545,15 @@ declare enum SavePageStatus_2 {
2608
2545
 
2609
2546
  export declare function SectionContentWrapper(props: ISectionContentWrapperProps): JSX.Element;
2610
2547
 
2611
- declare enum ServerType {
2612
- PostgreSQL,
2613
- "MS SQL SERVER",
2614
- }
2615
-
2616
2548
  export declare const ServicesContext: React_2.Context<IApplicationServices>;
2617
2549
 
2550
+ declare enum SessionFilterTypes {
2551
+ None = 0,
2552
+ Online = 1,
2553
+ Offline = 2,
2554
+ All = 3
2555
+ }
2556
+
2618
2557
  export declare const setDashboardPosition: (settings: IWidgetSettings_2, position: IDashboardPosition_2) => void;
2619
2558
 
2620
2559
  export declare class SettingsNavigationService implements ISettingsNavigationService {
@@ -2642,22 +2581,6 @@ export declare function showNotification(text: string): void;
2642
2581
 
2643
2582
  declare type Story = StoryObj<INavigationMenuProps>;
2644
2583
 
2645
- declare enum TableLocationType {
2646
- UseDefaultOrCurrent,
2647
- UseOwnDatabase,
2648
- UseOuterDatabase,
2649
- UseTemporaryDatabase,
2650
- }
2651
-
2652
- declare enum TableLocationTypeExtended {
2653
- UseDefaultOrCurrent,
2654
- UseOwnDatabase,
2655
- UseOuterDatabase,
2656
- UseTemporaryDatabase,
2657
- InMemoryTableOwnDatabase,
2658
- InMemoryTableOwnDatabaseNotPersistData,
2659
- }
2660
-
2661
2584
  export declare function TableScrollContainerComponent(props: ITableScrollContainerComponentProps): JSX.Element;
2662
2585
 
2663
2586
  export declare class TenantsService implements ITenantsService {
@@ -2674,8 +2597,6 @@ export declare function TextMessage(props: ITextMessage): JSX.Element;
2674
2597
 
2675
2598
  export declare const theme: Theme;
2676
2599
 
2677
- declare type TLibraryDependency = Omit<ILibrary, "haveUserMetadata" | "name" | "cardLibVersion" | "dbSysVersion" | "dbVersion" | "haveUnknownLinks" | "canUpdate">;
2678
-
2679
2600
  export declare const toWidgetSettings: (serverSettings: IWidgetSettingServerModel[]) => IWidgetSettings;
2680
2601
 
2681
2602
  export declare const useCustomFormContext: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues = undefined>() => CustomUseFormReturn<TFieldValues, TContext, TTransformedValues>;