@docsvision/management-console 6.2.0-beta.2 → 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 -244
  3. package/index.js +17590 -20060
  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;
@@ -481,30 +473,10 @@ export declare class DashboardConfigurationService implements IDashboardConfigur
481
473
  removeDashboardConfiguration(dashboardId: string): Promise<void>;
482
474
  }
483
475
 
484
- export declare function DatabaseSelectionModal(props: IDatabaseSelectionModalProps): JSX.Element;
485
-
486
476
  export declare function DatabaseSettingsCard(props: IDatabaseSettingsCardProps): JSX.Element;
487
477
 
488
478
  export declare type DatabaseSettingsCardSize = "sm" | "md";
489
479
 
490
- declare enum DatabaseState {
491
- Attached,
492
- Updating,
493
- Creating,
494
- Attaching
495
- }
496
-
497
- declare enum DatabaseType {
498
- Postgre,
499
- SQL
500
- }
501
-
502
- declare enum DatabaseWizardMode {
503
- Create,
504
- Add,
505
- Update
506
- }
507
-
508
480
  export declare const DateRangeCalendarIcon: React_2.NamedExoticComponent<IDateRangeProps>;
509
481
 
510
482
  export declare function DateRangeContainer(props: IDateRangePickerProps): JSX.Element;
@@ -535,6 +507,8 @@ export declare function DropdownBody(props: IDropdownBodyProps): JSX.Element;
535
507
 
536
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>>;
537
509
 
510
+ export declare function EditorCollectionEditor(props: IEditorCollectionEditorProps): JSX.Element;
511
+
538
512
  export declare function EditorContainer(props: IEditorContainer): JSX.Element;
539
513
 
540
514
  export declare function EditorDescription({ text }: {
@@ -574,11 +548,6 @@ declare type EffectCallbackAsync = () => (Promise<void> | (() => Promise<void |
574
548
 
575
549
  export declare const EMAIL_CONNECTION_SETTINGS_LAYOUT = "ea883b59-bb95-446e-879b-97874ac4d82b";
576
550
 
577
- export declare enum EngineType {
578
- MsSQL = 0,
579
- PgSQL = 1
580
- }
581
-
582
551
  export declare const ERROR_ROW_CLASS_NAME = "page-table__row-error";
583
552
 
584
553
  export declare function ErrorBlock({ text, close }: IErrorBlockProps): JSX.Element;
@@ -662,7 +631,7 @@ export declare const getThisMonthBeginAndEndDays: () => {
662
631
  endMonthDate: string;
663
632
  };
664
633
 
665
- export declare const getWidgetsOrder: (id: string) => 0 | 1 | 2;
634
+ export declare const getWidgetsOrder: (id: string) => 0 | 1 | 2 | 3;
666
635
 
667
636
  export declare function GroupPanel(props: IGroupPanelProps): JSX.Element;
668
637
 
@@ -737,7 +706,7 @@ export declare interface IApplication extends ServiceContainer, IApplicationServ
737
706
  declare interface IApplication_2 extends ServiceContainer, IApplicationServices_2 {
738
707
  }
739
708
 
740
- 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 {
741
710
  }
742
711
 
743
712
  declare interface IApplicationServices_2 extends
@@ -768,11 +737,10 @@ $SettingsNavigation_2,
768
737
  $FormControl_2,
769
738
  $ExtendedConfigurationController,
770
739
  $RealtimeCommunication,
771
- $DatabaseWizard,
772
- $DatabasesController,
773
- $DatabasesConfigurationController,
774
- $DatabaseMasterController,
775
- $ConfigurationLocksController {
740
+ $ConfigurationLocksController,
741
+ $SessionsController,
742
+ $ProcessTemplatesController,
743
+ $RootElement_2 {
776
744
 
777
745
  }
778
746
 
@@ -986,12 +954,6 @@ declare interface IConfigurationValueChange_2 extends IConfigurationValue_2 {
986
954
  operation: IChangeOperationType_2;
987
955
  }
988
956
 
989
- declare interface IConnectionStatusInfo {
990
- status: ConnectionStatus;
991
- message: string;
992
- uniqueServerName?: string;
993
- }
994
-
995
957
  export declare interface IContainerProps extends HtmlProps.button {
996
958
  title?: string;
997
959
  content?: JSX.Element | string;
@@ -1149,108 +1111,13 @@ declare interface IDashboardPosition_2 {
1149
1111
  order: number;
1150
1112
  }
1151
1113
 
1152
- declare interface IDatabase {
1153
- alias: string;
1154
- databaseName: string;
1155
- databaseType: DatabaseType;
1156
- serverName: string;
1157
- isDefault: boolean;
1158
- databaseState: DatabaseState;
1159
- deleted: boolean;
1160
- }
1161
-
1162
- declare interface IDatabaseInfo {
1163
- databaseAlias: string;
1164
- connectionStatus: IConnectionStatusInfo;
1165
- baseVersion: unknown;
1166
- updateDate: string;
1167
- fullTextSearchEnabled: boolean;
1168
- }
1169
-
1170
- declare interface IDatabaseMasterController extends Service {
1171
- setState(serverId: string, state: IDatabaseMasterModel): Promise<void>;
1172
- getState(serverId: string, databaseAlias: string): Promise<IDatabaseMasterModel>;
1173
- deleteState(serverId: string, databaseAlias: string): Promise<void>;
1174
- }
1175
-
1176
- declare interface IDatabaseMasterModel {
1177
- serverParameters?: IServerParameters;
1178
- databaseParameters?: IDatabaseParameters;
1179
- scriptGenerationParameters?: IScriptGenerationParameters;
1180
- libraries?: string[];
1181
- timeout?: number;
1182
- localeId?: number;
1183
- dbFilePath?: string;
1184
- currentPageName: string;
1185
- state?: IDatabaseMasterState;
1186
- lastProcessError?: string;
1187
- masterType: DatabaseWizardMode;
1188
- }
1189
-
1190
- declare enum IDatabaseMasterState {
1191
- Preparing = 0,
1192
- InProcess = 1,
1193
- ProcessFinished = 2
1194
- }
1195
-
1196
- export declare interface IDatabaseModel {
1197
- baseName: string;
1198
- sqlServerName: string;
1199
- serverType: EngineType;
1200
- usesFileService: boolean;
1201
- hash: string;
1202
- serverNames: string[];
1203
- error?: string;
1204
- }
1205
-
1206
- declare interface IDatabaseParameters {
1207
- alias: string;
1208
- databaseName: string;
1209
- additionalOptions?: Record<string, string>;
1210
- }
1211
-
1212
- declare interface IDatabasesConfigurationController extends Service {
1213
- getDefault(serviceId: string): Promise<string>;
1214
- setDefault(serviceId: string, databaseAlias: string): Promise<void>;
1215
- add(serviceId: string, databaseAlias: string): Promise<void>;
1216
- delete(serviceId: string, databaseAlias: string): Promise<void>;
1217
- all(serviceId: string): Promise<IDatabase[]>;
1218
- }
1219
-
1220
- declare interface IDatabasesController extends Service {
1221
- create(serviceId: string, databaseAlias: string): Promise<void>;
1222
- update(serviceId: string, databaseAlias: string): Promise<void>;
1223
- status(serviceId: string, databaseAlias: string): Promise<IProcessStatus>;
1224
- stop(serviceId: string, databaseAlias: string): Promise<void>;
1225
- databases(serviceId: string, serverParameters: IServerParameters): Promise<string[]>;
1226
- checkSqlServerConnection(serviceId: string, serverParameters: IServerParameters): Promise<IConnectionStatusInfo>;
1227
- checkSqlDatabaseConnection(serviceId: string, serverParameters: IServerParameters, databaseParameters: IDatabaseParameters): Promise<IConnectionStatusInfo>;
1228
- checkSqlDatabaseConnectionFull(serviceId: string, serverParameters: IServerParameters, databaseParameters: IDatabaseParameters)
1229
- : Promise<IConnectionStatusInfo>;
1230
- info(serviceId: string): Promise<IDatabaseInfo[]>;
1231
- libraries(serviceId: string, databaseAlias: string): Promise<IScriptGenerationModel>
1232
- }
1233
-
1234
- export declare interface IDatabaseSelectionModalProps {
1235
- open: boolean;
1236
- databases: IDatabaseModel[];
1237
- onCancel: () => void;
1238
- onApply: (selected: IDatabaseModel[]) => void;
1239
- resources: IResourcesMap_2;
1240
- }
1241
-
1242
1114
  export declare interface IDatabaseSettingsCardProps {
1243
1115
  title: string;
1244
1116
  label: string;
1245
1117
  isDefault: boolean;
1246
1118
  children?: React_2.ReactNode;
1247
1119
  size?: DatabaseSettingsCardSize;
1248
- }
1249
-
1250
- declare interface IDatabaseWizardService extends Service {
1251
- openCreateMode(serviceId: string, databaseChangeStateEvent?: Event_2<void>);
1252
- openUpdateMode(serviceId: string, databaseAlias: string, databaseChangeStateEvent?: Event_2<void>);
1253
- openConnectMode(serviceId: string, databaseChangeStateEvent?: Event_2<void>);
1120
+ error?: string;
1254
1121
  }
1255
1122
 
1256
1123
  export declare interface IDateRangeComponent {
@@ -1320,6 +1187,14 @@ export declare interface IDropdownOptionProps extends Omit<MenuItemProps, "butto
1320
1187
  displayName: string;
1321
1188
  }
1322
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
+
1323
1198
  export declare interface IEditorContainer extends IPageModelElement {
1324
1199
  children: React_2.ReactNode;
1325
1200
  isChanged?: boolean;
@@ -1569,6 +1444,11 @@ export declare interface IInformationIconProps {
1569
1444
  onClick?: () => void;
1570
1445
  }
1571
1446
 
1447
+ declare interface IInstallProcessTemplatesRequestModel {
1448
+ templateIds: string[];
1449
+ timestamp: string;
1450
+ }
1451
+
1572
1452
  export declare interface IKeyValue {
1573
1453
  key: string;
1574
1454
  value: string;
@@ -1584,19 +1464,6 @@ declare interface ILayoutService_2 extends Service {
1584
1464
  saveLayout(layoutId: string, serviceId: string, data: IPageSaveModelElement_2[], itemId?: string, timestamp?: number): Promise<ISavePageResultModel_2>;
1585
1465
  }
1586
1466
 
1587
- declare interface ILibrary {
1588
- id: string,
1589
- alias: string,
1590
- name: string,
1591
- cardLibVersion: number,
1592
- dbVersion: number,
1593
- dbSysVersion: number;
1594
- haveUserMetadata: boolean;
1595
- haveUnknownLinks?: boolean;
1596
- canUpdate?: boolean;
1597
- libraryDependencies: TLibraryDependency[];
1598
- }
1599
-
1600
1467
  declare interface ILineWithError {
1601
1468
  error: string;
1602
1469
  }
@@ -1614,6 +1481,7 @@ declare interface IListPanelProps {
1614
1481
  disabled?: boolean;
1615
1482
  validate?: (value: string) => Promise<boolean>;
1616
1483
  errorMessage?: string;
1484
+ services: IApplicationServices;
1617
1485
  }
1618
1486
 
1619
1487
  export declare interface ILocalizationService {
@@ -1808,7 +1676,7 @@ export declare function InformationIcon(props: IInformationIconProps): JSX.Eleme
1808
1676
 
1809
1677
  declare interface INumberComponentProps extends Omit<OutlinedTextFieldProps, "variant"> {
1810
1678
  name: string;
1811
- value?: number;
1679
+ value?: number | string;
1812
1680
  minValue?: number;
1813
1681
  maxValue?: number;
1814
1682
  fullWidth?: boolean;
@@ -1817,6 +1685,11 @@ declare interface INumberComponentProps extends Omit<OutlinedTextFieldProps, "va
1817
1685
  errorMessage?: string;
1818
1686
  }
1819
1687
 
1688
+ declare interface IOpenSessionsCount {
1689
+ onlineCount: number,
1690
+ offlineCount: number,
1691
+ }
1692
+
1820
1693
  export declare interface IPageElementOption {
1821
1694
  displayName: string;
1822
1695
  value: string | number;
@@ -1908,6 +1781,14 @@ declare interface IPageSaveModelElement_2 {
1908
1781
  value: unknown;
1909
1782
  }
1910
1783
 
1784
+ declare interface IPageSessionResult {
1785
+ queryId: string,
1786
+ result: ISessionInfo[],
1787
+ currentPage: number,
1788
+ hasMore: boolean,
1789
+ totalItemsCount: number
1790
+ }
1791
+
1911
1792
  export declare interface IPageTabLabelProps extends HtmlProps.div {
1912
1793
  text: string;
1913
1794
  selected: boolean;
@@ -1934,6 +1815,12 @@ export declare interface IPageTitleProps extends HtmlProps.div {
1934
1815
  text: string;
1935
1816
  }
1936
1817
 
1818
+ declare interface IPagingParameters {
1819
+ page: number,
1820
+ pageSize?: number,
1821
+ UsePagination?: boolean
1822
+ }
1823
+
1937
1824
  /**
1938
1825
  * Сервис для раскрытия или закрытия всех панелей.
1939
1826
  */
@@ -1960,9 +1847,8 @@ export declare interface IPopupNotificationProps extends Noty_2.Options {
1960
1847
  buttonsProps?: IButtonsProps[];
1961
1848
  }
1962
1849
 
1963
- declare interface IProcessStatus {
1964
- state: ProcessState;
1965
- errorMessage?: string
1850
+ declare interface IProcessTemplatesController extends Service {
1851
+ installProcessTemplates(serviceId: string, data: IInstallProcessTemplatesRequestModel): Promise<void>;
1966
1852
  }
1967
1853
 
1968
1854
  declare interface IRealtimeCommunicationService {
@@ -2001,6 +1887,14 @@ declare interface IResourcesMap_2 {
2001
1887
  [id: string]: string;
2002
1888
  }
2003
1889
 
1890
+ export declare interface IRootElementService {
1891
+ readonly rootElementId: string;
1892
+ }
1893
+
1894
+ declare interface IRootElementService_2 {
1895
+ readonly rootElementId: string;
1896
+ }
1897
+
2004
1898
  export declare interface IRouteContentRenderService {
2005
1899
  register(path: string, routeHandler: RouteHandler, hooks?: HooksHandler): any;
2006
1900
  $contentComponent: Store<JSX.Element>;
@@ -2043,23 +1937,6 @@ declare interface ISavePageResultModel_2 {
2043
1937
  timestamp?: number;
2044
1938
  }
2045
1939
 
2046
- declare interface IScriptGenerationModel {
2047
- scriptGeneratorVersion: number,
2048
- libraries: ILibrary[]
2049
- }
2050
-
2051
- declare interface IScriptGenerationParameters {
2052
- searchDataBaseType: TableLocationType,
2053
- changedObjectDataBaseType: TableLocationTypeExtended,
2054
- iconDataBaseType: TableLocationType,
2055
- keysetDataBaseType: TableLocationType,
2056
- fileCursorDataBaseType: TableLocationType,
2057
- cursorDataBaseType: TableLocationType,
2058
- useOuterMetadata: boolean,
2059
- useOuterLog: boolean,
2060
- useOuterArchive: boolean,
2061
- }
2062
-
2063
1940
  export declare interface ISectionContentWrapperProps extends IPageModelElement {
2064
1941
  className?: string;
2065
1942
  refElement?: React_2.RefObject<HTMLDivElement>;
@@ -2092,17 +1969,6 @@ export declare interface IServerExtensionResourcesDescriptor {
2092
1969
  url: string;
2093
1970
  }
2094
1971
 
2095
- declare interface IServerParameters {
2096
- serverName: string;
2097
- serverType: ServerType;
2098
- user: string;
2099
- password: string;
2100
- passwordChanged?: boolean;
2101
- port?: number;
2102
- integratedSecurity: boolean;
2103
- trustServerCertificate?: boolean;
2104
- }
2105
-
2106
1972
  declare interface IServersController extends Service {
2107
1973
  getServers(): Promise<IServerDescription[]>;
2108
1974
  getServerInfo(id: string): Promise<IServerDetails>;
@@ -2127,6 +1993,49 @@ declare interface IServiceDescription_2 {
2127
1993
  configurationLayoutId: string;
2128
1994
  }
2129
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
+
2130
2039
  export declare interface ISettingsNavigationService {
2131
2040
  goToSettingsPage: (layoutId: string, serviceName: string, serviceId: string) => void;
2132
2041
  goToItemSettingsPage: (layoutId: string, id: string, label: string) => void;
@@ -2322,6 +2231,11 @@ export declare interface IUrlModel {
2322
2231
  database?: string;
2323
2232
  }
2324
2233
 
2234
+ declare interface IUsedLicenseInfoModel {
2235
+ totalCount: number,
2236
+ usedCount: number
2237
+ }
2238
+
2325
2239
  export declare interface IUserInfo {
2326
2240
  /**
2327
2241
  * User account name
@@ -2583,13 +2497,6 @@ declare enum PeriodType {
2583
2497
  DateRange
2584
2498
  }
2585
2499
 
2586
- declare enum ProcessState {
2587
- Running = 0,
2588
- Finished = 1,
2589
- Error = 2,
2590
- Canceled = 3
2591
- }
2592
-
2593
2500
  export declare function registerEditors(): void;
2594
2501
 
2595
2502
  export declare function removeCssVariables(theme: Theme): void;
@@ -2600,6 +2507,11 @@ export declare class ResourcesManagement implements IResourcesManagement {
2600
2507
  addResources(resourcesMap: any): void;
2601
2508
  }
2602
2509
 
2510
+ export declare class RootElementService implements IRootElementService_2 {
2511
+ readonly rootElementId: string;
2512
+ constructor(rootElementId: string);
2513
+ }
2514
+
2603
2515
  export declare class RouteContentRenderService implements IRouteContentRenderService_2 {
2604
2516
  private readonly application?;
2605
2517
  domain: Domain;
@@ -2633,13 +2545,15 @@ declare enum SavePageStatus_2 {
2633
2545
 
2634
2546
  export declare function SectionContentWrapper(props: ISectionContentWrapperProps): JSX.Element;
2635
2547
 
2636
- declare enum ServerType {
2637
- PostgreSQL,
2638
- "MS SQL SERVER",
2639
- }
2640
-
2641
2548
  export declare const ServicesContext: React_2.Context<IApplicationServices>;
2642
2549
 
2550
+ declare enum SessionFilterTypes {
2551
+ None = 0,
2552
+ Online = 1,
2553
+ Offline = 2,
2554
+ All = 3
2555
+ }
2556
+
2643
2557
  export declare const setDashboardPosition: (settings: IWidgetSettings_2, position: IDashboardPosition_2) => void;
2644
2558
 
2645
2559
  export declare class SettingsNavigationService implements ISettingsNavigationService {
@@ -2667,22 +2581,6 @@ export declare function showNotification(text: string): void;
2667
2581
 
2668
2582
  declare type Story = StoryObj<INavigationMenuProps>;
2669
2583
 
2670
- declare enum TableLocationType {
2671
- UseDefaultOrCurrent,
2672
- UseOwnDatabase,
2673
- UseOuterDatabase,
2674
- UseTemporaryDatabase,
2675
- }
2676
-
2677
- declare enum TableLocationTypeExtended {
2678
- UseDefaultOrCurrent,
2679
- UseOwnDatabase,
2680
- UseOuterDatabase,
2681
- UseTemporaryDatabase,
2682
- InMemoryTableOwnDatabase,
2683
- InMemoryTableOwnDatabaseNotPersistData,
2684
- }
2685
-
2686
2584
  export declare function TableScrollContainerComponent(props: ITableScrollContainerComponentProps): JSX.Element;
2687
2585
 
2688
2586
  export declare class TenantsService implements ITenantsService {
@@ -2699,8 +2597,6 @@ export declare function TextMessage(props: ITextMessage): JSX.Element;
2699
2597
 
2700
2598
  export declare const theme: Theme;
2701
2599
 
2702
- declare type TLibraryDependency = Omit<ILibrary, "haveUserMetadata" | "name" | "cardLibVersion" | "dbSysVersion" | "dbVersion" | "haveUnknownLinks" | "canUpdate">;
2703
-
2704
2600
  export declare const toWidgetSettings: (serverSettings: IWidgetSettingServerModel[]) => IWidgetSettings;
2705
2601
 
2706
2602
  export declare const useCustomFormContext: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues = undefined>() => CustomUseFormReturn<TFieldValues, TContext, TTransformedValues>;